home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 05r.dir / 00001.ls next >
Encoding:
Text File  |  1999-10-10  |  2.1 KB  |  85 lines

  1. on startMovie
  2.   global gCursorReady, gKnobState, gMagCursor, gsearchOn, qtChan, gKnobSprite, gSendMovie, gCurrentLocation
  3.   puppetSprite(44, 1)
  4.   gCursorReady = 1
  5.   gMagCursor = "magCursor"
  6.   cursor(200)
  7.   gCurrentLocation = 5
  8.   puppetSound(0)
  9.   gSendMovie = "05r"
  10.   qtChan = 35
  11.   sprite(qtChan).volume = 256
  12.   cast("kimomem").directToStage = 1
  13.   preLoad(qtChan - 1)
  14.   initGlobals()
  15.   gKnobSprite = 17
  16.   setUpKnob()
  17.   set the mouseDownScript to EMPTY
  18.   set the mouseUpScript to EMPTY
  19.   if gsearchOn = 1 then
  20.     sprite(6).visible = 1
  21.   else
  22.     sprite(6).visible = 0
  23.   end if
  24. end
  25.  
  26. on stopMovie
  27.   if the type of sprite 35 <> 0 then
  28.     sprite(35).movieRate = 0
  29.   end if
  30. end
  31.  
  32. on idle
  33.   global gCursorReady
  34.   if gCursorReady = 1 then
  35.     cursor(200)
  36.     checkCursors()
  37.     set the locH of sprite 44 to the mouseH
  38.     set the locV of sprite 44 to the mouseV
  39.     updateStage()
  40.     if sprite(36).movieRate = 0 then
  41.       sprite(36).movieRate = 1
  42.     end if
  43.   end if
  44. end
  45.  
  46. on checkCursors
  47.   global gMagCursor
  48.   set the castNum of sprite 44 to the number of member "curs1"
  49.   if rollOver(5) then
  50.     set the castNum of sprite 44 to the number of member "hotCursor"
  51.   end if
  52.   if rollOver(22) then
  53.     set the castNum of sprite 44 to the number of member "hotCursor"
  54.   end if
  55.   if rollOver(7) then
  56.     set the castNum of sprite 44 to the number of member "deMagCursor"
  57.   end if
  58.   repeat with i = 8 to 12
  59.     if rollOver(i) then
  60.       set the castNum of sprite 44 to the number of member "hotCursor"
  61.     end if
  62.   end repeat
  63.   repeat with i = 14 to 21
  64.     if rollOver(i) then
  65.       set the castNum of sprite 44 to the number of member "hotCursor"
  66.     end if
  67.   end repeat
  68.   repeat with i = 24 to 28
  69.     if rollOver(i) then
  70.       set the castNum of sprite 44 to the number of member "hotCursor"
  71.     end if
  72.   end repeat
  73.   if rollOver(37) then
  74.     set the castNum of sprite 44 to the number of member "nonCursor"
  75.   end if
  76.   if rollOver(39) then
  77.     set the castNum of sprite 44 to the number of member "hotCursor"
  78.   end if
  79.   repeat with i = 40 to 42
  80.     if rollOver(i) then
  81.       set the castNum of sprite 44 to the number of member "hotCursor"
  82.     end if
  83.   end repeat
  84. end
  85.